<?php
namespace Modules\ShopApi\Models;
class ShopConfig extends BaseApiModel
{	
	
	/**	 
	 * @name  获取关于我们信息	 
	 */
	public function config_content(){
		$content = $this->where(['id'=>1])->value('content');
		$content = replacePicUrl($content);
		return $this->api_success(['data'=>['content'=>$content]]);
	}
	/**	 
	 * @name  获取商城配置信息	 
	 */
	public function config_info(){ 
		$data = $this->where(['id'=>1])->select('wallet_pay_status','wechat_pay_status')->first()->toArray();
		return $this->api_success(['data'=>$data]);
	}
}
